package top.zhanglingxi.algorithms;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.zhanglingxi.enums.PointEnum;

/**
 * 点
 * @author ZWX
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Point {
    /**
     * x坐标
     */
    private int x;

    /**
     * y坐标
     */
    private int y;

    /**
     * 点类型
     */
    private PointEnum type;

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }
}
